package com.msb.简单树;

/**
 * @author whf
 * @date 2024-12-18 15:14
 */
public class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;
    
    public TreeNode(int value) {
        this.val = value;
    }
    
    public TreeNode(int value, TreeNode leftT, TreeNode rightT) {
        this.val = value;
        this.left = leftT;
        this.right = rightT;
    }
}
